//
//  BeikeViewController.m
//  ProjectForA
//
//  Created by hmengwei on 14/11/22.
//  Copyright (c) 2014年 hmengwei. All rights reserved.
//

#import "BeikeViewController.h"

@interface BeikeViewController ()

@end

@implementation BeikeViewController

- (void)viewDidLoad {
    
    
    [super viewDidLoad];
    [self.view setBackgroundColor:[UIColor whiteColor]];
    [self createView];
    // Do any additional setup after loading the view.
}

-(void)createView
{
    UIImageView *image = [[UIImageView alloc] initWithFrame:CGRectMake(self.view.frame.size.width / 2 - 45, 60, 90, 90)];
    image.layer.cornerRadius = 45;
    image.layer.masksToBounds = YES;
    [image setImage:[UIImage imageNamed:@"beike.png"]];
    [self.view addSubview:image];
    
    UIImageView *backImage = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];
    [backImage setImage:[UIImage imageNamed:@"001.jpg"]];
    [backImage setAlpha:.4f];
    [self.view addSubview:backImage];
    
    
    UILabel *lable1 = [[UILabel alloc] initWithFrame:CGRectMake(self.view.frame.size.width / 2 - 35, 160, 70, 40)];
    lable1.text = @"贝壳旅行";
    [self.view addSubview:lable1];
    
    UILabel *lable = [[UILabel alloc] initWithFrame:CGRectMake(30, 150, self.view.frame.size.width - 60, self.view.frame.size.height / 2)];

    lable.text = @"        贝壳旅行时一款纪录全球著名旅游景点，图文并茂的诉说每个旅途的点点滴滴，致力于通过移动互联网技术帮助人们更便捷地探索世界、发现精彩，享受个性化旅行的乐趣，可以让用户更好的了解全球的旅游景点，更提供了网上购票服务，优质的服务和更实惠的价格，贝壳旅行，让你的旅行更轻松";
    [lable setNumberOfLines:0];

    [self.view addSubview:lable];

}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
